package br.com.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.*;

public class AlbumActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        try
        {
        	((Gallery) findViewById(R.id.galeria)).setAdapter(new ImageAdapter(this));
        }
        catch(Exception e)
        {
        	System.err.print(e);
        }
    }
}